// 7.26日练习用的JS文件
new Vue({
	el:"#vue_app",
	data:{
		name:"whkgogo",
		age:21,
		isopen:false,
		error_code:false,
		success_code:false,
		users:[
			{id:1,name:"whkgogo",age:21,address:"中国上海"},
			{id:2,name:"lhn",age:24,address:"中国北京"},
			{id:3,name:"bh",age:26,address:"中国深圳"},
			{id:4,name:"zxy",age:23,address:"中国广州"}
		]
	},
	methods:{
		change_font(){
			this.isopen = !this.isopen
		},
		error_msg(){
			this.error_code = !this.error_code
		},
		success_msg(){
			this.success_code = !this.success_code
		}
		
	}
})